#pragma once
#include <windows.h>
#include <vector>
#include <string>
#include <map>
#include "terrain/heightmap.h"
#include "utility/Gets.h"
using namespace std;
class cHeightmap;

class cHeightmapMgr
{
public:
	cHeightmapMgr();
	void PushHeightmap(string heightmappath,int rows,int cols,float offset,float scale,string heightmapKey);
	cHeightmap* GetHeightmap(string heightmapKey);
	void EraseHeightmap(string heightmapKey);
	void Release();
private:
	map<string,cHeightmap*> mapHeightmap;
};